public with sharing class GetValueFromWeiboConsoleForCase {

        //Define Case 
        //public Integer WeiboNo{get;set;}
        public String WeiboUser{get;set;}
        public String Description{get;set;}
        public String wid{get;set;}
        public String source{get;set;}
        public Case cas {get;set;}

        public void GetValue(){                            
        WeiboUser = Apexpages.currentPage().getParameters().get('WeiboUser');  
        Description = Apexpages.currentPage().getParameters().get('Description');
        wid = Apexpages.currentPage().getParameters().get('wbmid');
        source = Apexpages.currentPage().getParameters().get('source');
    }

        public GetValueFromWeiboConsoleForCase(ApexPages.StandardController controller){
                GetValue();
                cas = (Case)controller.getRecord();
                cas.Description__c = Description;
                cas.Weibo_User__c = WeiboUser;
                cas.Weibo_No__c = wid;
                cas.Source__c = source;
                
                
    }           
}